<?php
/*
Plugin Name: WP Iello Plugin
Plugin URI: http://www.iello.ro
Description: Plugin for integration of Iello Made By Block.
Version: 1.0
Author: Gabriel Popa
Author URI: http://www.iello.ro
*/

/* Definitions */
if (! defined('ILL_PLUGIN_URL'))
    define('ILL_PLUGIN_URL', WP_PLUGIN_URL . '/' . plugin_basename(dirname(__FILE__)));
/* ----------------------------------------------------------------------------------------- */	
/* Necessary js includes */
wp_enqueue_script('jquery');
wp_enqueue_script('iello', ILL_PLUGIN_URL . '/js/iello.js', array('jquery'));
/* ----------------------------------------------------------------------------------------- */
	
class wp_iello {
	function wp_iello(){
		add_action('wp_head', array(&$this, 'wp_head'));
	}
	function wp_head() {
		$css = ILL_PLUGIN_URL.'/css/iello.css';
		$js = ILL_PLUGIN_URL.'/js/iello.js';
?>
<!-- wordpress Made By IELLO-DEV [http://www.iello.ro]  -->
<link rel="stylesheet" href="<?php echo $css; ?>" type="text/css" />
<?php		
	}	
}
$iello = new wp_iello();
?>